package com.shuai.ai_core.service;

import com.shuai.ai_core.dto.ChatReq;
import org.springframework.ai.chat.ChatResponse;
import reactor.core.publisher.Flux;

public interface AIInteractService {
    /**
     * 普通交互
     *
     * @return
     */
    ChatResponse interactCommonPrint(ChatReq chatReq, String userId);

    /**
     * 流式交互
     */
    Flux<String> interactStreamPrint(ChatReq chatReq, String userId);
}
